package com.aspose.cells;

class zcde {
   private zazw a;
   private int b;
   private byte[] c;
   private int d;
   private zbxz e;

   zcde(zazw var1) {
      this.a = var1;
   }

   void a(zbxz var1) throws Exception {
      this.e = var1;
      boolean var2 = false;

      while(true) {
         this.b = var1.a();
         switch(this.b) {
         case 399:
            this.c = var1.d();
            short var3 = com.aspose.cells.b.a.zc.b(this.c, 0);
            if (var3 == 0) {
               return;
            }

            this.a.n = new zbag();
            break;
         case 400:
            this.a();
            break;
         case 401:
            this.d = var1.b();
            var1.a((long)this.d);
         case 402:
         default:
            break;
         case 403:
            return;
         }
      }
   }

   private void a() throws Exception {
      this.c = this.e.d();
      zbaf var1 = new zbaf();
      this.a.n.a(var1);
      byte var2 = 0;
      var1.c = com.aspose.cells.b.a.zc.a(this.c, var2);
      int var3 = var2 + 4;
      var1.b = new byte[16];
      System.arraycopy(this.c, var3, var1.b, 0, 16);
      var3 += 16;
      var1.a = zcdc.a(this.c, var3);
      var3 += 8;
      var1.d = zcch.d(this.c, var3);
   }
}
